package com.zzuli.fitness.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zzuli.fitness.entity.OrderInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface OrderInfoDao extends BaseMapper<OrderInfo> {
    int deleteByPrimaryKey(String id);

    int insert(OrderInfo record);

    int insertSelective(OrderInfo record);

    OrderInfo selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(OrderInfo record);

    int updateByPrimaryKey(OrderInfo record);

    List<OrderInfo> findAllOrderByUserId(Integer id);

    OrderInfo findOrderInfoById(String id);
}